<!--
 * @Author: LAB
 * @Date: 2021-04-25 09:44:20
 * @Description: 展示上传图片
 * @FilePath: \clientapp\src\components\linkimg.vue
-->
<template>
  <img v-bind="$attrs" :src="imgdomain + src" />
</template>

<script lang="ts">
import { Options, Vue } from "vue-property-decorator/lib";
import config from "@/config/config";
@Options({
  data() {
    return {
      inheritAttrs: false,
    };
  },
  props: {
    src: {
      type: String,
      default: "",
    },
  },
})
export default class linkimg extends Vue {
  imgdomain = config.domain;
  mounted() {
    console.log("this", this.imgdomain);
  }
}
</script>

<style lang="scss">
</style>
